
import {getSchoolsList} from '@/api/teachManage'

function getPSelect() {
    let orgoptions = []
    getSchoolsList({
        limit: 999,
        dataType:1,
        page: 1
      }).then(res => {
      let data = res.data
      data.map(i => {
        let item = { schoolsId: i.schoolsId, itemName: i.itemName }
        orgoptions.push(item)
      })
    })     
    return orgoptions;
  }
  export const schoolsList = getPSelect()
